<?php

class Core_Form_Admincp_Language_Edit extends Nuo_Form
{
	function init()
	{$this->isAsync();
		$this -> setTitle('Edit Language');

		$this -> addChild('text', 'title', array('label' => 'English Title'));

		$this -> addChild('text', 'image', array('label' => 'Image'));

		$this -> addChild('text', 'sort_order', array('label' => 'Sort Order'));

		$this -> addChild('text', 'sort_order', array('label' => 'Sort Order'));

		$this -> addChild('yesno', 'is_enabled', array('label' => 'Enabled'));

		$this -> addChild('yesno', 'is_locked', array('label' => 'Lock'));

		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');

	}

}
